package edu.sctu.practice.class01.wujiayi.assing03.practice02;

/**
 * Created by acer1 on 2015/10/24.
 */
public class Main {
    public static void main(String[] args) {
        ComparableCircle comparableCircle = new ComparableCircle((float) 3.3);
        ComparableCircle nextComparableCircle = new ComparableCircle((float) 1.2);

        ComparableCylinder comparableCylinder = new ComparableCylinder(2.2f, (float) 2.5);
        ComparableCylinder nextComparableCylinder = new ComparableCylinder(3.8f, (float) 3.9);

        Max.max(comparableCircle,nextComparableCircle);
        Max.max(comparableCylinder,nextComparableCylinder);
    }
}
